-
Notifications
You must be signed in to change notification settings - Fork 40
/
DbSet`1.xml
1883 lines (1883 loc) · 131 KB
/
DbSet`1.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<Type Name="DbSet<TEntity>" FullName="Microsoft.EntityFrameworkCore.DbSet<TEntity>">
<TypeSignature Language="C#" Value="public abstract class DbSet<TEntity> : Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<IServiceProvider>, Microsoft.EntityFrameworkCore.Query.Internal.IAsyncEnumerableAccessor<TEntity>, System.Collections.Generic.IEnumerable<TEntity>, System.Linq.IQueryable<TEntity> where TEntity : class" FrameworkAlternate="efcore-1.0;efcore-1.1" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit DbSet`1<class TEntity> extends System.Object implements class Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure`1<class System.IServiceProvider>, class Microsoft.EntityFrameworkCore.Query.Internal.IAsyncEnumerableAccessor`1<!TEntity>, class System.Collections.Generic.IEnumerable`1<!TEntity>, class System.Collections.IEnumerable, class System.Linq.IQueryable, class System.Linq.IQueryable`1<!TEntity>" FrameworkAlternate="efcore-1.0;efcore-1.1" />
<TypeSignature Language="DocId" Value="T:Microsoft.EntityFrameworkCore.DbSet`1" />
<TypeSignature Language="VB.NET" Value="Public MustInherit Class DbSet(Of TEntity)
Implements IAsyncEnumerableAccessor(Of TEntity), IEnumerable(Of TEntity), IInfrastructure(Of IServiceProvider), IQueryable(Of TEntity)" FrameworkAlternate="efcore-1.0;efcore-1.1" />
<TypeSignature Language="F#" Value="type DbSet<'Entity (requires 'Entity : null)> = class
 interface IQueryable<'Entity (requires 'Entity : null)>
 interface seq<'Entity (requires 'Entity : null)>
 interface IEnumerable
 interface IQueryable
 interface IAsyncEnumerableAccessor<'Entity (requires 'Entity : null)>
 interface IInfrastructure<IServiceProvider>" FrameworkAlternate="efcore-1.0;efcore-1.1" />
<TypeSignature Language="C#" Value="public abstract class DbSet<TEntity> : Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<IServiceProvider>, Microsoft.EntityFrameworkCore.Query.Internal.IAsyncEnumerableAccessor<TEntity>, System.Collections.Generic.IEnumerable<TEntity>, System.ComponentModel.IListSource, System.Linq.IQueryable<TEntity> where TEntity : class" FrameworkAlternate="efcore-2.0;efcore-2.1;efcore-2.2" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit DbSet`1<class TEntity> extends System.Object implements class Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure`1<class System.IServiceProvider>, class Microsoft.EntityFrameworkCore.Query.Internal.IAsyncEnumerableAccessor`1<!TEntity>, class System.Collections.Generic.IEnumerable`1<!TEntity>, class System.Collections.IEnumerable, class System.ComponentModel.IListSource, class System.Linq.IQueryable, class System.Linq.IQueryable`1<!TEntity>" FrameworkAlternate="efcore-2.0;efcore-2.1;efcore-2.2" />
<TypeSignature Language="VB.NET" Value="Public MustInherit Class DbSet(Of TEntity)
Implements IAsyncEnumerableAccessor(Of TEntity), IEnumerable(Of TEntity), IInfrastructure(Of IServiceProvider), IListSource, IQueryable(Of TEntity)" FrameworkAlternate="efcore-2.0;efcore-2.1;efcore-2.2" />
<TypeSignature Language="F#" Value="type DbSet<'Entity (requires 'Entity : null)> = class
 interface IQueryable<'Entity (requires 'Entity : null)>
 interface seq<'Entity (requires 'Entity : null)>
 interface IEnumerable
 interface IQueryable
 interface IAsyncEnumerableAccessor<'Entity (requires 'Entity : null)>
 interface IInfrastructure<IServiceProvider>
 interface IListSource" FrameworkAlternate="efcore-2.0;efcore-2.1;efcore-2.2" />
<TypeSignature Language="C#" Value="public abstract class DbSet<TEntity> : Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<IServiceProvider>, System.Collections.Generic.IAsyncEnumerable<TEntity>, System.Collections.Generic.IEnumerable<TEntity>, System.ComponentModel.IListSource, System.Linq.IQueryable<TEntity> where TEntity : class" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit DbSet`1<class TEntity> extends System.Object implements class Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure`1<class System.IServiceProvider>, class System.Collections.Generic.IAsyncEnumerable`1<!TEntity>, class System.Collections.Generic.IEnumerable`1<!TEntity>, class System.Collections.IEnumerable, class System.ComponentModel.IListSource, class System.Linq.IQueryable, class System.Linq.IQueryable`1<!TEntity>" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0" />
<TypeSignature Language="VB.NET" Value="Public MustInherit Class DbSet(Of TEntity)
Implements IAsyncEnumerable(Of TEntity), IEnumerable(Of TEntity), IInfrastructure(Of IServiceProvider), IListSource, IQueryable(Of TEntity)" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0" />
<TypeSignature Language="F#" Value="type DbSet<'Entity (requires 'Entity : null)> = class
 interface IQueryable<'Entity (requires 'Entity : null)>
 interface seq<'Entity (requires 'Entity : null)>
 interface IEnumerable
 interface IQueryable
 interface IAsyncEnumerable<'Entity (requires 'Entity : null)>
 interface IInfrastructure<IServiceProvider>
 interface IListSource" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0" />
<TypeSignature Language="C#" Value="public abstract class DbSet<TEntity> : Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<IServiceProvider>, System.Collections.Generic.IEnumerable<TEntity>, System.ComponentModel.IListSource, System.Linq.IQueryable<TEntity> where TEntity : class" FrameworkAlternate="efcore-6.0;efcore-7.0;efcore-8.0" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit DbSet`1<class TEntity> extends System.Object implements class Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure`1<class System.IServiceProvider>, class System.Collections.Generic.IEnumerable`1<!TEntity>, class System.Collections.IEnumerable, class System.ComponentModel.IListSource, class System.Linq.IQueryable, class System.Linq.IQueryable`1<!TEntity>" FrameworkAlternate="efcore-6.0;efcore-7.0;efcore-8.0" />
<TypeSignature Language="VB.NET" Value="Public MustInherit Class DbSet(Of TEntity)
Implements IEnumerable(Of TEntity), IInfrastructure(Of IServiceProvider), IListSource, IQueryable(Of TEntity)" FrameworkAlternate="efcore-6.0;efcore-7.0;efcore-8.0" />
<TypeSignature Language="F#" Value="type DbSet<'Entity (requires 'Entity : null)> = class
 interface IQueryable<'Entity (requires 'Entity : null)>
 interface seq<'Entity (requires 'Entity : null)>
 interface IEnumerable
 interface IQueryable
 interface IInfrastructure<IServiceProvider>
 interface IListSource" FrameworkAlternate="efcore-6.0;efcore-7.0;efcore-8.0" />
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.0.6.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>1.1.6.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.3.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.1.11.0</AssemblyVersion>
<AssemblyVersion>2.2.6.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<TypeParameters>
<TypeParameter Name="TEntity">
<Constraints>
<ParameterAttribute>ReferenceTypeConstraint</ParameterAttribute>
</Constraints>
<Attributes>
<Attribute FrameworkAlternate="efcore-7.0;efcore-8.0">
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers>]</AttributeName>
</Attribute>
</Attributes>
</TypeParameter>
</TypeParameters>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<System.IServiceProvider></InterfaceName>
</Interface>
<Interface FrameworkAlternate="efcore-1.0;efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2">
<InterfaceName>Microsoft.EntityFrameworkCore.Query.Internal.IAsyncEnumerableAccessor<TEntity></InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Collections.Generic.IEnumerable<T></InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Collections.Generic.IEnumerable<TEntity></InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Collections.IEnumerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Linq.IQueryable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Linq.IQueryable<TEntity></InterfaceName>
</Interface>
<Interface FrameworkAlternate="efcore-2.0;efcore-2.1;efcore-2.2;efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0">
<InterfaceName>System.ComponentModel.IListSource</InterfaceName>
</Interface>
<Interface FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0">
<InterfaceName>System.Collections.Generic.IAsyncEnumerable<TEntity></InterfaceName>
</Interface>
</Interfaces>
<Docs>
<typeparam name="TEntity">The type of entity being operated on by this set.</typeparam>
<summary>
A <see cref="T:Microsoft.EntityFrameworkCore.DbSet`1" /> can be used to query and save instances of <typeparamref name="TEntity" />.
LINQ queries against a <see cref="T:Microsoft.EntityFrameworkCore.DbSet`1" /> will be translated into queries against the database.
</summary>
<remarks>
<para>
The results of a LINQ query against a <see cref="T:Microsoft.EntityFrameworkCore.DbSet`1" /> will contain the results
returned from the database and may not reflect changes made in the context that have not
been persisted to the database. For example, the results will not contain newly added entities
and may still contain entities that are marked for deletion.
</para>
<para>
Depending on the database being used, some parts of a LINQ query against a <see cref="T:Microsoft.EntityFrameworkCore.DbSet`1" />
may be evaluated in memory rather than being translated into a database query.
</para>
<para>
<see cref="T:Microsoft.EntityFrameworkCore.DbSet`1" /> objects are usually obtained from a <see cref="T:Microsoft.EntityFrameworkCore.DbSet`1" />
property on a derived <see cref="T:Microsoft.EntityFrameworkCore.DbContext" /> or from the <see cref="M:Microsoft.EntityFrameworkCore.DbContext.Set``1" />
method.
</para>
<para>
Entity Framework Core does not support multiple parallel operations being run on the same <see cref="T:Microsoft.EntityFrameworkCore.DbContext" />
instance. This includes both parallel execution of async queries and any explicit concurrent use from multiple threads.
Therefore, always await async calls immediately, or use separate DbContext instances for operations that execute
in parallel. See <see href="https://aka.ms/efcore-docs-threading">Avoiding DbContext threading issues</see> for more information
and examples.
</para>
<para>
See <see href="https://aka.ms/efcore-docs-dbcontext">DbContext lifetime, configuration, and initialization</see>,
<see href="https://aka.ms/efcore-docs-query">Querying data with EF Core</see>, and
<see href="https://aka.ms/efcore-docs-change-tracking">Changing tracking</see> for more information and examples.
</para>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected DbSet ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.DbSet`1.#ctor" />
<MemberSignature Language="VB.NET" Value="Protected Sub New ()" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>1.0.6.0</AssemblyVersion>
<AssemblyVersion>1.1.6.0</AssemblyVersion>
<AssemblyVersion>2.0.3.0</AssemblyVersion>
<AssemblyVersion>2.1.11.0</AssemblyVersion>
<AssemblyVersion>2.2.6.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public virtual Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<TEntity> Add (TEntity entity);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry`1<!TEntity> Add(!TEntity entity) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.DbSet`1.Add(`0)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function Add (entity As TEntity) As EntityEntry(Of TEntity)" />
<MemberSignature Language="F#" Value="abstract member Add : 'Entity -> Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<'Entity (requires 'Entity : null)>
override this.Add : 'Entity -> Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<'Entity (requires 'Entity : null)>" Usage="dbSet.Add entity" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>1.0.6.0</AssemblyVersion>
<AssemblyVersion>1.1.6.0</AssemblyVersion>
<AssemblyVersion>2.0.3.0</AssemblyVersion>
<AssemblyVersion>2.1.11.0</AssemblyVersion>
<AssemblyVersion>2.2.6.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<TEntity></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="entity" Type="TEntity" />
</Parameters>
<Docs>
<param name="entity">The entity to add.</param>
<summary>
Begins tracking the given entity, and any other reachable entities that are
not already being tracked, in the <see cref="F:Microsoft.EntityFrameworkCore.EntityState.Added" /> state such that they will
be inserted into the database when <see cref="M:Microsoft.EntityFrameworkCore.DbContext.SaveChanges" /> is called.
</summary>
<returns>
The <see cref="T:Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry`1" /> for the entity. The entry provides
access to change tracking information and operations for the entity.
</returns>
<remarks>
<para>
Use <see cref="P:Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry.State" /> to set the state of only a single entity.
</para>
<para>
See <see href="https://aka.ms/efcore-docs-change-tracking">EF Core change tracking</see> for more information and examples.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="AddAsync">
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task<Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<TEntity>> AddAsync (TEntity entity, System.Threading.CancellationToken cancellationToken = default);" FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry`1<!TEntity>> AddAsync(!TEntity entity, valuetype System.Threading.CancellationToken cancellationToken) cil managed" FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.DbSet`1.AddAsync(`0,System.Threading.CancellationToken)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function AddAsync (entity As TEntity, Optional cancellationToken As CancellationToken = Nothing) As Task(Of EntityEntry(Of TEntity))" FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2" />
<MemberSignature Language="F#" Value="abstract member AddAsync : 'Entity * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<'Entity>>
override this.AddAsync : 'Entity * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<'Entity>>" Usage="dbSet.AddAsync (entity, cancellationToken)" FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2" />
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.ValueTask<Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<TEntity>> AddAsync (TEntity entity, System.Threading.CancellationToken cancellationToken = default);" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype System.Threading.Tasks.ValueTask`1<class Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry`1<!TEntity>> AddAsync(!TEntity entity, valuetype System.Threading.CancellationToken cancellationToken) cil managed" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function AddAsync (entity As TEntity, Optional cancellationToken As CancellationToken = Nothing) As ValueTask(Of EntityEntry(Of TEntity))" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0" />
<MemberSignature Language="F#" Value="abstract member AddAsync : 'Entity * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<'Entity>>
override this.AddAsync : 'Entity * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<'Entity>>" Usage="dbSet.AddAsync (entity, cancellationToken)" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>1.1.6.0</AssemblyVersion>
<AssemblyVersion>2.0.3.0</AssemblyVersion>
<AssemblyVersion>2.1.11.0</AssemblyVersion>
<AssemblyVersion>2.2.6.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2">System.Threading.Tasks.Task<Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<TEntity>></ReturnType>
<ReturnType FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0">System.Threading.Tasks.ValueTask<Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<TEntity>></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="entity" Type="TEntity" Index="0" FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2;efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0" />
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" Index="1" FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2;efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0" />
</Parameters>
<Docs>
<param name="entity">The entity to add.</param>
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken" /> to observe while waiting for the task to complete.</param>
<summary>
Begins tracking the given entity, and any other reachable entities that are
not already being tracked, in the <see cref="F:Microsoft.EntityFrameworkCore.EntityState.Added" /> state such that they will
be inserted into the database when <see cref="M:Microsoft.EntityFrameworkCore.DbContext.SaveChanges" /> is called.
</summary>
<returns>
A task that represents the asynchronous Add operation. The task result contains the
<see cref="T:Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry`1" /> for the entity. The entry provides access to change tracking
information and operations for the entity.
</returns>
<remarks>
<para>
This method is async only to allow special value generators, such as the one used by
'Microsoft.EntityFrameworkCore.Metadata.SqlServerValueGenerationStrategy.SequenceHiLo',
to access the database asynchronously. For all other cases the non async method should be used.
</para>
<para>
Use <see cref="P:Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry.State" /> to set the state of only a single entity.
</para>
<para>
See <see href="https://aka.ms/efcore-docs-change-tracking">EF Core change tracking</see> for more information and examples.
</para>
</remarks>
<exception cref="T:System.OperationCanceledException">If the <see cref="T:System.Threading.CancellationToken" /> is canceled.</exception>
</Docs>
</Member>
<Member MemberName="AddRange">
<MemberSignature Language="C#" Value="public virtual void AddRange (System.Collections.Generic.IEnumerable<TEntity> entities);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void AddRange(class System.Collections.Generic.IEnumerable`1<!TEntity> entities) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.DbSet`1.AddRange(System.Collections.Generic.IEnumerable{`0})" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub AddRange (entities As IEnumerable(Of TEntity))" />
<MemberSignature Language="F#" Value="abstract member AddRange : seq<'Entity (requires 'Entity : null)> -> unit
override this.AddRange : seq<'Entity (requires 'Entity : null)> -> unit" Usage="dbSet.AddRange entities" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>1.0.6.0</AssemblyVersion>
<AssemblyVersion>1.1.6.0</AssemblyVersion>
<AssemblyVersion>2.0.3.0</AssemblyVersion>
<AssemblyVersion>2.1.11.0</AssemblyVersion>
<AssemblyVersion>2.2.6.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="entities" Type="System.Collections.Generic.IEnumerable<TEntity>" />
</Parameters>
<Docs>
<param name="entities">The entities to add.</param>
<summary>
Begins tracking the given entities, and any other reachable entities that are
not already being tracked, in the <see cref="F:Microsoft.EntityFrameworkCore.EntityState.Added" /> state such that they will
be inserted into the database when <see cref="M:Microsoft.EntityFrameworkCore.DbContext.SaveChanges" /> is called.
</summary>
<remarks>
See <see href="https://aka.ms/efcore-docs-change-tracking">EF Core change tracking</see>
and <see href="https://aka.ms/efcore-docs-attach-range">Using AddRange, UpdateRange, AttachRange, and RemoveRange</see>
for more information and examples.
</remarks>
</Docs>
</Member>
<Member MemberName="AddRange">
<MemberSignature Language="C#" Value="public virtual void AddRange (params TEntity[] entities);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void AddRange(!TEntity[] entities) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.DbSet`1.AddRange(`0[])" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub AddRange (ParamArray entities As TEntity())" />
<MemberSignature Language="F#" Value="abstract member AddRange : 'Entity[] -> unit
override this.AddRange : 'Entity[] -> unit" Usage="dbSet.AddRange entities" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>1.0.6.0</AssemblyVersion>
<AssemblyVersion>1.1.6.0</AssemblyVersion>
<AssemblyVersion>2.0.3.0</AssemblyVersion>
<AssemblyVersion>2.1.11.0</AssemblyVersion>
<AssemblyVersion>2.2.6.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="entities" Type="TEntity[]">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ParamArray]</AttributeName>
<AttributeName Language="F#">[<System.ParamArray>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="entities">The entities to add.</param>
<summary>
Begins tracking the given entities, and any other reachable entities that are
not already being tracked, in the <see cref="F:Microsoft.EntityFrameworkCore.EntityState.Added" /> state such that they will
be inserted into the database when <see cref="M:Microsoft.EntityFrameworkCore.DbContext.SaveChanges" /> is called.
</summary>
<remarks>
See <see href="https://aka.ms/efcore-docs-change-tracking">EF Core change tracking</see>
and <see href="https://aka.ms/efcore-docs-attach-range">Using AddRange, UpdateRange, AttachRange, and RemoveRange</see>
for more information and examples.
</remarks>
</Docs>
</Member>
<Member MemberName="AddRangeAsync">
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task AddRangeAsync (params TEntity[] entities);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task AddRangeAsync(!TEntity[] entities) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.DbSet`1.AddRangeAsync(`0[])" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function AddRangeAsync (ParamArray entities As TEntity()) As Task" />
<MemberSignature Language="F#" Value="abstract member AddRangeAsync : 'Entity[] -> System.Threading.Tasks.Task
override this.AddRangeAsync : 'Entity[] -> System.Threading.Tasks.Task" Usage="dbSet.AddRangeAsync entities" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>1.1.6.0</AssemblyVersion>
<AssemblyVersion>2.0.3.0</AssemblyVersion>
<AssemblyVersion>2.1.11.0</AssemblyVersion>
<AssemblyVersion>2.2.6.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="entities" Type="TEntity[]" Index="0" FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2;efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ParamArray]</AttributeName>
<AttributeName Language="F#">[<System.ParamArray>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="entities">The entities to add.</param>
<summary>
Begins tracking the given entities, and any other reachable entities that are
not already being tracked, in the <see cref="F:Microsoft.EntityFrameworkCore.EntityState.Added" /> state such that they will
be inserted into the database when <see cref="M:Microsoft.EntityFrameworkCore.DbContext.SaveChanges" /> is called.
</summary>
<returns>A task that represents the asynchronous operation.</returns>
<remarks>
<para>
This method is async only to allow special value generators, such as the one used by
'Microsoft.EntityFrameworkCore.Metadata.SqlServerValueGenerationStrategy.SequenceHiLo',
to access the database asynchronously. For all other cases the non async method should be used.
</para>
<para>
See <see href="https://aka.ms/efcore-docs-change-tracking">EF Core change tracking</see>
and <see href="https://aka.ms/efcore-docs-attach-range">Using AddRange, UpdateRange, AttachRange, and RemoveRange</see>
for more information and examples.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="AddRangeAsync">
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task AddRangeAsync (System.Collections.Generic.IEnumerable<TEntity> entities, System.Threading.CancellationToken cancellationToken = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task AddRangeAsync(class System.Collections.Generic.IEnumerable`1<!TEntity> entities, valuetype System.Threading.CancellationToken cancellationToken) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.DbSet`1.AddRangeAsync(System.Collections.Generic.IEnumerable{`0},System.Threading.CancellationToken)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function AddRangeAsync (entities As IEnumerable(Of TEntity), Optional cancellationToken As CancellationToken = Nothing) As Task" />
<MemberSignature Language="F#" Value="abstract member AddRangeAsync : seq<'Entity (requires 'Entity : null)> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.AddRangeAsync : seq<'Entity (requires 'Entity : null)> * System.Threading.CancellationToken -> System.Threading.Tasks.Task" Usage="dbSet.AddRangeAsync (entities, cancellationToken)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>1.1.6.0</AssemblyVersion>
<AssemblyVersion>2.0.3.0</AssemblyVersion>
<AssemblyVersion>2.1.11.0</AssemblyVersion>
<AssemblyVersion>2.2.6.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="entities" Type="System.Collections.Generic.IEnumerable<TEntity>" Index="0" FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2;efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0" />
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" Index="1" FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2;efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0" />
</Parameters>
<Docs>
<param name="entities">The entities to add.</param>
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken" /> to observe while waiting for the task to complete.</param>
<summary>
Begins tracking the given entities, and any other reachable entities that are
not already being tracked, in the <see cref="F:Microsoft.EntityFrameworkCore.EntityState.Added" /> state such that they will
be inserted into the database when <see cref="M:Microsoft.EntityFrameworkCore.DbContext.SaveChanges" /> is called.
</summary>
<returns>A task that represents the asynchronous operation.</returns>
<remarks>
<para>
This method is async only to allow special value generators, such as the one used by
'Microsoft.EntityFrameworkCore.Metadata.SqlServerValueGenerationStrategy.SequenceHiLo',
to access the database asynchronously. For all other cases the non async method should be used.
</para>
<para>
See <see href="https://aka.ms/efcore-docs-change-tracking">EF Core change tracking</see>
and <see href="https://aka.ms/efcore-docs-attach-range">Using AddRange, UpdateRange, AttachRange, and RemoveRange</see>
for more information and examples.
</para>
</remarks>
<exception cref="T:System.OperationCanceledException">If the <see cref="T:System.Threading.CancellationToken" /> is canceled.</exception>
</Docs>
</Member>
<Member MemberName="AsAsyncEnumerable">
<MemberSignature Language="C#" Value="public virtual System.Collections.Generic.IAsyncEnumerable<TEntity> AsAsyncEnumerable ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Collections.Generic.IAsyncEnumerable`1<!TEntity> AsAsyncEnumerable() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.DbSet`1.AsAsyncEnumerable" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function AsAsyncEnumerable () As IAsyncEnumerable(Of TEntity)" />
<MemberSignature Language="F#" Value="abstract member AsAsyncEnumerable : unit -> System.Collections.Generic.IAsyncEnumerable<'Entity (requires 'Entity : null)>
override this.AsAsyncEnumerable : unit -> System.Collections.Generic.IAsyncEnumerable<'Entity (requires 'Entity : null)>" Usage="dbSet.AsAsyncEnumerable " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IAsyncEnumerable<TEntity></ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
Returns this object typed as <see cref="T:System.Collections.Generic.IAsyncEnumerable`1" />.
</summary>
<returns>This object.</returns>
<remarks>
See <see href="https://aka.ms/efcore-docs-query">Querying data with EF Core</see> for more information and examples.
</remarks>
</Docs>
</Member>
<Member MemberName="AsQueryable">
<MemberSignature Language="C#" Value="public virtual System.Linq.IQueryable<TEntity> AsQueryable ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Linq.IQueryable`1<!TEntity> AsQueryable() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.DbSet`1.AsQueryable" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function AsQueryable () As IQueryable(Of TEntity)" />
<MemberSignature Language="F#" Value="abstract member AsQueryable : unit -> System.Linq.IQueryable<'Entity (requires 'Entity : null)>
override this.AsQueryable : unit -> System.Linq.IQueryable<'Entity (requires 'Entity : null)>" Usage="dbSet.AsQueryable " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Linq.IQueryable<TEntity></ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
Returns this object typed as <see cref="T:System.Linq.IQueryable`1" />.
</summary>
<returns>This object.</returns>
<remarks>
<para>
This is a convenience method to help with disambiguation of extension methods in the same
namespace that extend both interfaces.
</para>
<para>
See <see href="https://aka.ms/efcore-docs-query">Querying data with EF Core</see> for more information and examples.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Attach">
<MemberSignature Language="C#" Value="public virtual Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<TEntity> Attach (TEntity entity);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry`1<!TEntity> Attach(!TEntity entity) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.DbSet`1.Attach(`0)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function Attach (entity As TEntity) As EntityEntry(Of TEntity)" />
<MemberSignature Language="F#" Value="abstract member Attach : 'Entity -> Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<'Entity (requires 'Entity : null)>
override this.Attach : 'Entity -> Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<'Entity (requires 'Entity : null)>" Usage="dbSet.Attach entity" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>1.0.6.0</AssemblyVersion>
<AssemblyVersion>1.1.6.0</AssemblyVersion>
<AssemblyVersion>2.0.3.0</AssemblyVersion>
<AssemblyVersion>2.1.11.0</AssemblyVersion>
<AssemblyVersion>2.2.6.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<TEntity></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="entity" Type="TEntity" />
</Parameters>
<Docs>
<param name="entity">The entity to attach.</param>
<summary>
Begins tracking the given entity and entries reachable from the given entity using
the <see cref="F:Microsoft.EntityFrameworkCore.EntityState.Unchanged" /> state by default, but see below for cases
when a different state will be used.
</summary>
<returns>
The <see cref="T:Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry" /> for the entity. The entry provides
access to change tracking information and operations for the entity.
</returns>
<remarks>
<para>
Generally, no database interaction will be performed until <see cref="M:Microsoft.EntityFrameworkCore.DbContext.SaveChanges" /> is called.
</para>
<para>
A recursive search of the navigation properties will be performed to find reachable entities
that are not already being tracked by the context. All entities found will be tracked
by the context.
</para>
<para>
For entity types with generated keys if an entity has its primary key value set
then it will be tracked in the <see cref="F:Microsoft.EntityFrameworkCore.EntityState.Unchanged" /> state. If the primary key
value is not set then it will be tracked in the <see cref="F:Microsoft.EntityFrameworkCore.EntityState.Added" /> state.
This helps ensure only new entities will be inserted.
An entity is considered to have its primary key value set if the primary key property is set
to anything other than the CLR default for the property type.
</para>
<para>
For entity types without generated keys, the state set is always <see cref="F:Microsoft.EntityFrameworkCore.EntityState.Unchanged" />.
</para>
<para>
Use <see cref="P:Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry.State" /> to set the state of only a single entity.
</para>
<para>
See <see href="https://aka.ms/efcore-docs-change-tracking">EF Core change tracking</see> for more information and examples.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="AttachRange">
<MemberSignature Language="C#" Value="public virtual void AttachRange (System.Collections.Generic.IEnumerable<TEntity> entities);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void AttachRange(class System.Collections.Generic.IEnumerable`1<!TEntity> entities) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.DbSet`1.AttachRange(System.Collections.Generic.IEnumerable{`0})" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub AttachRange (entities As IEnumerable(Of TEntity))" />
<MemberSignature Language="F#" Value="abstract member AttachRange : seq<'Entity (requires 'Entity : null)> -> unit
override this.AttachRange : seq<'Entity (requires 'Entity : null)> -> unit" Usage="dbSet.AttachRange entities" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>1.0.6.0</AssemblyVersion>
<AssemblyVersion>1.1.6.0</AssemblyVersion>
<AssemblyVersion>2.0.3.0</AssemblyVersion>
<AssemblyVersion>2.1.11.0</AssemblyVersion>
<AssemblyVersion>2.2.6.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="entities" Type="System.Collections.Generic.IEnumerable<TEntity>" />
</Parameters>
<Docs>
<param name="entities">The entities to attach.</param>
<summary>
Begins tracking the given entities and entries reachable from the given entities using
the <see cref="F:Microsoft.EntityFrameworkCore.EntityState.Unchanged" /> state by default, but see below for cases
when a different state will be used.
</summary>
<remarks>
<para>
Generally, no database interaction will be performed until <see cref="M:Microsoft.EntityFrameworkCore.DbContext.SaveChanges" /> is called.
</para>
<para>
A recursive search of the navigation properties will be performed to find reachable entities
that are not already being tracked by the context. All entities found will be tracked
by the context.
</para>
<para>
For entity types with generated keys if an entity has its primary key value set
then it will be tracked in the <see cref="F:Microsoft.EntityFrameworkCore.EntityState.Unchanged" /> state. If the primary key
value is not set then it will be tracked in the <see cref="F:Microsoft.EntityFrameworkCore.EntityState.Added" /> state.
This helps ensure only new entities will be inserted.
An entity is considered to have its primary key value set if the primary key property is set
to anything other than the CLR default for the property type.
</para>
<para>
For entity types without generated keys, the state set is always <see cref="F:Microsoft.EntityFrameworkCore.EntityState.Unchanged" />.
</para>
<para>
Use <see cref="P:Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry.State" /> to set the state of only a single entity.
</para>
<para>
See <see href="https://aka.ms/efcore-docs-change-tracking">EF Core change tracking</see>
and <see href="https://aka.ms/efcore-docs-attach-range">Using AddRange, UpdateRange, AttachRange, and RemoveRange</see>
for more information and examples.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="AttachRange">
<MemberSignature Language="C#" Value="public virtual void AttachRange (params TEntity[] entities);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void AttachRange(!TEntity[] entities) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.DbSet`1.AttachRange(`0[])" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub AttachRange (ParamArray entities As TEntity())" />
<MemberSignature Language="F#" Value="abstract member AttachRange : 'Entity[] -> unit
override this.AttachRange : 'Entity[] -> unit" Usage="dbSet.AttachRange entities" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>1.0.6.0</AssemblyVersion>
<AssemblyVersion>1.1.6.0</AssemblyVersion>
<AssemblyVersion>2.0.3.0</AssemblyVersion>
<AssemblyVersion>2.1.11.0</AssemblyVersion>
<AssemblyVersion>2.2.6.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="entities" Type="TEntity[]">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ParamArray]</AttributeName>
<AttributeName Language="F#">[<System.ParamArray>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="entities">The entities to attach.</param>
<summary>
Begins tracking the given entities and entries reachable from the given entities using
the <see cref="F:Microsoft.EntityFrameworkCore.EntityState.Unchanged" /> state by default, but see below for cases
when a different state will be used.
</summary>
<remarks>
<para>
Generally, no database interaction will be performed until <see cref="M:Microsoft.EntityFrameworkCore.DbContext.SaveChanges" /> is called.
</para>
<para>
A recursive search of the navigation properties will be performed to find reachable entities
that are not already being tracked by the context. All entities found will be tracked
by the context.
</para>
<para>
For entity types with generated keys if an entity has its primary key value set
then it will be tracked in the <see cref="F:Microsoft.EntityFrameworkCore.EntityState.Unchanged" /> state. If the primary key
value is not set then it will be tracked in the <see cref="F:Microsoft.EntityFrameworkCore.EntityState.Added" /> state.
This helps ensure only new entities will be inserted.
An entity is considered to have its primary key value set if the primary key property is set
to anything other than the CLR default for the property type.
</para>
<para>
For entity types without generated keys, the state set is always <see cref="F:Microsoft.EntityFrameworkCore.EntityState.Unchanged" />.
</para>
<para>
Use <see cref="P:Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry.State" /> to set the state of only a single entity.
</para>
<para>
See <see href="https://aka.ms/efcore-docs-change-tracking">EF Core change tracking</see>
and <see href="https://aka.ms/efcore-docs-attach-range">Using AddRange, UpdateRange, AttachRange, and RemoveRange</see>
for more information and examples.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="EntityType">
<MemberSignature Language="C#" Value="public virtual Microsoft.EntityFrameworkCore.Metadata.IEntityType EntityType { get; }" FrameworkAlternate="efcore-5.0" />
<MemberSignature Language="ILAsm" Value=".property instance class Microsoft.EntityFrameworkCore.Metadata.IEntityType EntityType" />
<MemberSignature Language="DocId" Value="P:Microsoft.EntityFrameworkCore.DbSet`1.EntityType" />
<MemberSignature Language="VB.NET" Value="Public Overridable ReadOnly Property EntityType As IEntityType" FrameworkAlternate="efcore-5.0" />
<MemberSignature Language="F#" Value="member this.EntityType : Microsoft.EntityFrameworkCore.Metadata.IEntityType" Usage="Microsoft.EntityFrameworkCore.DbSet<'Entity (requires 'Entity : null)>.EntityType" />
<MemberSignature Language="C#" Value="public abstract Microsoft.EntityFrameworkCore.Metadata.IEntityType EntityType { get; }" FrameworkAlternate="efcore-6.0;efcore-7.0;efcore-8.0" />
<MemberSignature Language="VB.NET" Value="Public MustOverride ReadOnly Property EntityType As IEntityType" FrameworkAlternate="efcore-6.0;efcore-7.0;efcore-8.0" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.EntityFrameworkCore.Metadata.IEntityType</ReturnType>
</ReturnValue>
<Docs>
<summary>
The <see cref="T:Microsoft.EntityFrameworkCore.Metadata.IEntityType" /> metadata associated with this set.
</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Entry">
<MemberSignature Language="C#" Value="public virtual Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<TEntity> Entry (TEntity entity);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry`1<!TEntity> Entry(!TEntity entity) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.DbSet`1.Entry(`0)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function Entry (entity As TEntity) As EntityEntry(Of TEntity)" />
<MemberSignature Language="F#" Value="abstract member Entry : 'Entity -> Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<'Entity (requires 'Entity : null)>
override this.Entry : 'Entity -> Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<'Entity (requires 'Entity : null)>" Usage="dbSet.Entry entity" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry<TEntity></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="entity" Type="TEntity" Index="0" FrameworkAlternate="efcore-7.0;efcore-8.0" />
</Parameters>
<Docs>
<param name="entity">The entity to get the entry for.</param>
<summary>
Gets an <see cref="T:Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry`1" /> for the given entity. The entry provides
access to change tracking information and operations for the entity.
</summary>
<returns>The entry for the given entity.</returns>
<remarks>
See <see href="https://aka.ms/efcore-docs-entity-entries">Accessing tracked entities in EF Core</see> for more information and
examples.
</remarks>
</Docs>
</Member>
<Member MemberName="Equals">
<MemberSignature Language="C#" Value="public override bool Equals (object obj);" FrameworkAlternate="efcore-2.1;efcore-2.2;efcore-3.0;efcore-3.1;efcore-5.0" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Equals(object obj) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.DbSet`1.Equals(System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function Equals (obj As Object) As Boolean" />
<MemberSignature Language="F#" Value="override this.Equals : obj -> bool" Usage="dbSet.Equals obj" />
<MemberSignature Language="C#" Value="public override bool Equals (object? obj);" FrameworkAlternate="efcore-6.0;efcore-7.0;efcore-8.0" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>2.1.11.0</AssemblyVersion>
<AssemblyVersion>2.2.6.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="efcore-2.1;efcore-2.2;efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0">
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="obj" Type="System.Object" Index="0" FrameworkAlternate="efcore-2.1;efcore-2.2;efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0" />
</Parameters>
<Docs>
<param name="obj">The object to compare with the current object.</param>
<summary>
Determines whether the specified object is equal to the current object.
</summary>
<returns>
<see langword="true" /> if the specified object is equal to the current object; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Find">
<MemberSignature Language="C#" Value="public virtual TEntity Find (params object[] keyValues);" FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2;efcore-3.0;efcore-3.1;efcore-5.0" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance !TEntity Find(object[] keyValues) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.DbSet`1.Find(System.Object[])" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function Find (ParamArray keyValues As Object()) As TEntity" />
<MemberSignature Language="F#" Value="abstract member Find : obj[] -> 'Entity
override this.Find : obj[] -> 'Entity" Usage="dbSet.Find keyValues" />
<MemberSignature Language="C#" Value="public virtual TEntity? Find (params object?[]? keyValues);" FrameworkAlternate="efcore-6.0;efcore-7.0;efcore-8.0" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>1.1.6.0</AssemblyVersion>
<AssemblyVersion>2.0.3.0</AssemblyVersion>
<AssemblyVersion>2.1.11.0</AssemblyVersion>
<AssemblyVersion>2.2.6.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>TEntity</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="keyValues" Type="System.Object[]" Index="0" FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2;efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ParamArray]</AttributeName>
<AttributeName Language="F#">[<System.ParamArray>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="keyValues">The values of the primary key for the entity to be found.</param>
<summary>
Finds an entity with the given primary key values. If an entity with the given primary key values
is being tracked by the context, then it is returned immediately without making a request to the
database. Otherwise, a query is made to the database for an entity with the given primary key values
and this entity, if found, is attached to the context and returned. If no entity is found, then
null is returned.
</summary>
<returns>The entity found, or <see langword="null" />.</returns>
<remarks>
See <see href="https://aka.ms/efcore-docs-find">Using Find and FindAsync</see> for more information and examples.
</remarks>
</Docs>
</Member>
<Member MemberName="FindAsync">
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task<TEntity> FindAsync (params object[] keyValues);" FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<!TEntity> FindAsync(object[] keyValues) cil managed" FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.DbSet`1.FindAsync(System.Object[])" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function FindAsync (ParamArray keyValues As Object()) As Task(Of TEntity)" FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2" />
<MemberSignature Language="F#" Value="abstract member FindAsync : obj[] -> System.Threading.Tasks.Task<'Entity (requires 'Entity : null)>
override this.FindAsync : obj[] -> System.Threading.Tasks.Task<'Entity (requires 'Entity : null)>" Usage="dbSet.FindAsync keyValues" FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2" />
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.ValueTask<TEntity> FindAsync (params object[] keyValues);" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype System.Threading.Tasks.ValueTask`1<!TEntity> FindAsync(object[] keyValues) cil managed" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function FindAsync (ParamArray keyValues As Object()) As ValueTask(Of TEntity)" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0" />
<MemberSignature Language="F#" Value="abstract member FindAsync : obj[] -> System.Threading.Tasks.ValueTask<'Entity (requires 'Entity : null)>
override this.FindAsync : obj[] -> System.Threading.Tasks.ValueTask<'Entity (requires 'Entity : null)>" Usage="dbSet.FindAsync keyValues" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0" />
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.ValueTask<TEntity?> FindAsync (params object?[]? keyValues);" FrameworkAlternate="efcore-6.0;efcore-7.0;efcore-8.0" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>1.1.6.0</AssemblyVersion>
<AssemblyVersion>2.0.3.0</AssemblyVersion>
<AssemblyVersion>2.1.11.0</AssemblyVersion>
<AssemblyVersion>2.2.6.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2">System.Threading.Tasks.Task<TEntity></ReturnType>
<ReturnType FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0">System.Threading.Tasks.ValueTask<TEntity></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="keyValues" Type="System.Object[]" Index="0" FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2;efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ParamArray]</AttributeName>
<AttributeName Language="F#">[<System.ParamArray>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="keyValues">The values of the primary key for the entity to be found.</param>
<summary>
Finds an entity with the given primary key values. If an entity with the given primary key values
is being tracked by the context, then it is returned immediately without making a request to the
database. Otherwise, a query is made to the database for an entity with the given primary key values
and this entity, if found, is attached to the context and returned. If no entity is found, then
null is returned.
</summary>
<returns>The entity found, or <see langword="null" />.</returns>
<remarks>
See <see href="https://aka.ms/efcore-docs-find">Using Find and FindAsync</see> for more information and examples.
</remarks>
</Docs>
</Member>
<Member MemberName="FindAsync">
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task<TEntity> FindAsync (object[] keyValues, System.Threading.CancellationToken cancellationToken);" FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<!TEntity> FindAsync(object[] keyValues, valuetype System.Threading.CancellationToken cancellationToken) cil managed" FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.DbSet`1.FindAsync(System.Object[],System.Threading.CancellationToken)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function FindAsync (keyValues As Object(), cancellationToken As CancellationToken) As Task(Of TEntity)" FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2" />
<MemberSignature Language="F#" Value="abstract member FindAsync : obj[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'Entity (requires 'Entity : null)>
override this.FindAsync : obj[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'Entity (requires 'Entity : null)>" Usage="dbSet.FindAsync (keyValues, cancellationToken)" FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2" />
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.ValueTask<TEntity> FindAsync (object[] keyValues, System.Threading.CancellationToken cancellationToken);" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype System.Threading.Tasks.ValueTask`1<!TEntity> FindAsync(object[] keyValues, valuetype System.Threading.CancellationToken cancellationToken) cil managed" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function FindAsync (keyValues As Object(), cancellationToken As CancellationToken) As ValueTask(Of TEntity)" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0" />
<MemberSignature Language="F#" Value="abstract member FindAsync : obj[] * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<'Entity (requires 'Entity : null)>
override this.FindAsync : obj[] * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<'Entity (requires 'Entity : null)>" Usage="dbSet.FindAsync (keyValues, cancellationToken)" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0" />
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.ValueTask<TEntity?> FindAsync (object?[]? keyValues, System.Threading.CancellationToken cancellationToken);" FrameworkAlternate="efcore-6.0;efcore-7.0;efcore-8.0" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>1.1.6.0</AssemblyVersion>
<AssemblyVersion>2.0.3.0</AssemblyVersion>
<AssemblyVersion>2.1.11.0</AssemblyVersion>
<AssemblyVersion>2.2.6.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2">System.Threading.Tasks.Task<TEntity></ReturnType>
<ReturnType FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0">System.Threading.Tasks.ValueTask<TEntity></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="keyValues" Type="System.Object[]" Index="0" FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2;efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0" />
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" Index="1" FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2;efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0" />
</Parameters>
<Docs>
<param name="keyValues">The values of the primary key for the entity to be found.</param>
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken" /> to observe while waiting for the task to complete.</param>
<summary>
Finds an entity with the given primary key values. If an entity with the given primary key values
is being tracked by the context, then it is returned immediately without making a request to the
database. Otherwise, a query is made to the database for an entity with the given primary key values
and this entity, if found, is attached to the context and returned. If no entity is found, then
null is returned.
</summary>
<returns>The entity found, or <see langword="null" />.</returns>
<remarks>
See <see href="https://aka.ms/efcore-docs-find">Using Find and FindAsync</see> for more information and examples.
</remarks>
<exception cref="T:System.OperationCanceledException">If the <see cref="T:System.Threading.CancellationToken" /> is canceled.</exception>
</Docs>
</Member>
<Member MemberName="GetAsyncEnumerator">
<MemberSignature Language="C#" Value="public virtual System.Collections.Generic.IAsyncEnumerator<TEntity> GetAsyncEnumerator (System.Threading.CancellationToken cancellationToken = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Collections.Generic.IAsyncEnumerator`1<!TEntity> GetAsyncEnumerator(valuetype System.Threading.CancellationToken cancellationToken) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.DbSet`1.GetAsyncEnumerator(System.Threading.CancellationToken)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function GetAsyncEnumerator (Optional cancellationToken As CancellationToken = Nothing) As IAsyncEnumerator(Of TEntity)" />
<MemberSignature Language="F#" Value="abstract member GetAsyncEnumerator : System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerator<'Entity (requires 'Entity : null)>
override this.GetAsyncEnumerator : System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerator<'Entity (requires 'Entity : null)>" Usage="dbSet.GetAsyncEnumerator cancellationToken" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IAsyncEnumerator<TEntity></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" Index="0" FrameworkAlternate="efcore-6.0;efcore-7.0;efcore-8.0" />
</Parameters>
<Docs>
<param name="cancellationToken">
A <see cref="T:System.Threading.CancellationToken" /> that may be used to cancel the asynchronous iteration.
</param>
<summary>
Returns an <see cref="T:System.Collections.Generic.IAsyncEnumerator`1" /> which when enumerated will asynchronously execute a query against
the database.
</summary>
<returns>The query results.</returns>
<remarks>
See <see href="https://aka.ms/efcore-docs-query">Querying data with EF Core</see> for more information and examples.
</remarks>
</Docs>